﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Infrastructure.Aspect.Metadata
{

    public enum AuditLevel
    {
        High,
        Low
    }

    [AttributeUsage(AttributeTargets.Class)]
    public  class AuditAttribute : Attribute
    {
        private AuditLevel _Level;
        public AuditLevel Level { get { return  this._Level; } }
        public AuditAttribute()
        {
            _Level = AuditLevel.Low; 
        }
        public AuditAttribute(AuditLevel level)
        {
            this._Level  =  level; 
        }
    }
}
